GdkDrawingContext: Add missing nullable annotation
authorTimm Bäder <mail@baedert.org>
Mon, 8 Jan 2018 21:00:57 +0000 (22:00 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 10 Jan 2018 07:46:22 +0000 (08:46 +0100)
gdk/gdkdrawingcontext.c

index 31ab477706a04edc3c5d59f1f5843136217d379a..d0ae2a44faf5c9b17488a220b8699a4be10c688f 100644 (file)
@@ -260,7 +260,7 @@ gdk_cairo_get_drawing_context (cairo_t *cr)
  * #GdkDrawingContext is valid, that is between a call to
  * gdk_window_begin_draw_frame() and gdk_window_end_draw_frame().
  *
- * Returns: (transfer none): a Cairo context to be used to draw
+ * Returns: (transfer none) (nullable): a Cairo context to be used to draw
  *   the contents of the #GdkWindow. The context is owned by the
  *   #GdkDrawingContext and should not be destroyed. %NULL is
  *   returned when a paint context is in used.